import request from "../request";

// 项目累计投资额
export const getTotalDataAPI = (params) => {
  return request.request({
    method: "get",
    url: "/api/project/dataAnalysis/getTotalData",
    params,
  });
};

// 项目完成累计投资额
export const getFinishTotalDataAPI = (params) => {
  return request.request({
    method: "get",
    url: "/api/project/dataAnalysis/getFinishTotalData",
    params,
  });
};

// 城市投资额
export const getCityTotalDataAPI = (params) => {
  return request.request({
    method: "get",
    url: "/api/project/dataAnalysis/getCityTotalData",
    params,
  });
};

// 项目类型投资额
export const getTypeTotalDataAPI = (params) => {
  return request.request({
    method: "get",
    url: "/api/project/dataAnalysis/getTypeTotalData",
    params,
  });
};

// 获取城市名
export const getCityNameAPI = () => {
  return request.request({
    method: "get",
    url: "/api/project/dataAnalysis/getCityName",
  });
};
// 获取类型
export const getTypeAPI = () => {
  return request.request({
    method: "get",
    url: "/api/project/dataAnalysis/getType",
  });
};
